import request from '@/utils/request'

// 活动列表
export function activityLists(params?: Record<string, any>) {
    return request.get({ url: '/activity/list', params })
}

// 活动详情
export function activityDetail(params: Record<string, any>) {
    return request.get({ url: '/activity/detail', params })
}

// 活动新增
export function activityAdd(params: Record<string, any>) {
    return request.post({ url: '/activity/add', params })
}

// 活动编辑
export function activityEdit(params: Record<string, any>) {
    return request.post({ url: '/activity/edit', params })
}

// 活动删除
export function activityDelete(params: Record<string, any>) {
    return request.post({ url: '/activity/del', params })
}
